module.exports = app => {
  const express = require('express')
  let router = express.Router()

  let sass = require('node-sass')

  router.post('/scss',(req,res)=>{
    let result = 
      sass.renderSync({
        data:req.body.content
      })
    return res.send({
      success:true,
      result:result
    })
  })

  
  app.use(router)
}